package com.jeomo.masterdata.starter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <h3>excel-util</h3>
 * <p>待办事项列表</p>
 *
 * @author : 崔贺
 * @date : 2020-12-28 14:29
 **/
@TableName("todu_item")
public class TodoItem implements Serializable {

    private long id;

    @TableId(value = "code", type = IdType.ASSIGN_ID)
    private String code;
    /**
     * 组织号
     */
    private String orgCode;
    /**
     * 顶级组织号
     */
    private String topOrgCode;
    /**
     * 待办功能的业务code
     */
    private String srcCode;
    /**
     * 待办功能的业务类型
     */
    private int srcType;
    /**
     * 提交人
     */
    private String submitter;
    /**
     * 提交时间
     */
    private LocalDateTime submitTime;
    /**
     * 处理人
     */
    private String handler;
    /**
     * 处理时间
     */
    private LocalDateTime handlerTime;
    /**
     * 流程状态 0 未提交  1 待审批 2 审批通过 3驳回
     */
    private int workflowStatus;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getTopOrgCode() {
        return topOrgCode;
    }

    public void setTopOrgCode(String topOrgCode) {
        this.topOrgCode = topOrgCode;
    }

    public String getSrcCode() {
        return srcCode;
    }

    public void setSrcCode(String srcCode) {
        this.srcCode = srcCode;
    }

    public int getSrcType() {
        return srcType;
    }

    public void setSrcType(int srcType) {
        this.srcType = srcType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSubmitter() {
        return submitter;
    }

    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }

    public LocalDateTime getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(LocalDateTime submitTime) {
        this.submitTime = submitTime;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public LocalDateTime getHandlerTime() {
        return handlerTime;
    }

    public void setHandlerTime(LocalDateTime handlerTime) {
        this.handlerTime = handlerTime;
    }

    public int getWorkflowStatus() {
        return workflowStatus;
    }

    public void setWorkflowStatus(int workflowStatus) {
        this.workflowStatus = workflowStatus;
    }
}
